home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Blender 2.49b / blender-2.49b-windows.exe / $_4_ / .blender / scripts / help_manual.py < prev    next >
Text File  |  2009-08-31  |  2KB  |  49 lines

  1. #!BPY
  2. """
  3. Name: 'Manual'
  4. Blender: 248
  5. Group: 'Help'
  6. Tooltip: 'The Blender Wiki manual'
  7. """
  8.  
  9. __author__ = "Matt Ebb"
  10. __url__ = ("blender", "blenderartists.org")
  11. __version__ = "1.0.1"
  12. __bpydoc__ = """\
  13. This script opens the user's default web browser at www.blender.org's
  14. "Manual" page.
  15. """
  16.  
  17. # --------------------------------------------------------------------------
  18. # Manual Help Menu Item
  19. # --------------------------------------------------------------------------
  20. # ***** BEGIN GPL LICENSE BLOCK *****
  21. #
  22. # This program is free software; you can redistribute it and/or
  23. # modify it under the terms of the GNU General Public License
  24. # as published by the Free Software Foundation; either version 2
  25. # of the License, or (at your option) any later version.
  26. #
  27. # This program is distributed in the hope that it will be useful,
  28. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  29. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  30. # GNU General Public License for more details.
  31. #
  32. # You should have received a copy of the GNU General Public License
  33. # along with this program; if not, write to the Free Software Foundation,
  34. # Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  35. #
  36. # ***** END GPL LICENCE BLOCK *****
  37. # --------------------------------------------------------------------------
  38.  
  39. import Blender
  40. try: import webbrowser
  41. except: webbrowser = None
  42.  
  43. if webbrowser:
  44.     webbrowser.open('http://wiki.blender.org/index.php/Manual')
  45. else:
  46.     Blender.Draw.PupMenu("Error%t|This script requires a full python installation")
  47.  
  48.  
  49.